﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdapterPattern
{ 
    //ADAPTER
    class Compound_Adapter
    { 
        protected string _chemical;
        protected float _boilingPoint;
        protected float _meltingPoint;
        protected double _molecularWeight;
        protected string _molecularFormula; 

        // Constructor
        public Compound_Adapter(string chemical)
        { 
            this._chemical = chemical; 
        }

        internal ChemicalDatabank_Adaptee ChemicalDatabank
        {
            get
            {
                throw new System.NotImplementedException();
            }
            set
            {
            }
        } 

        public virtual void Display()
        {
            Console.WriteLine("\nCompound: {0} ------ ", _chemical);
        }

    }


}
